package com.itboye.jinpuyiyuan.activity.login;

import android.os.Bundle;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import com.itboye.jinpuyiyuan.R;
import com.itboye.jinpuyiyuan.base.BaseActivity;

/**
 * Created by Administrator on 2018/2/10 0010.
 *
 */

public class AgreementActivity extends BaseActivity {
    private WebView webview;
    @Override
    protected void onCreate(Bundle arg0) {
        super.onCreate(arg0);
        setContentView(R.layout.activity_agreement);
        String url = getIntent().getStringExtra("url");
        webview.getSettings().setJavaScriptEnabled(true);
        webview.setWebViewClient(new WebViewClient());
        webview.loadUrl(url);
    }
}
